package com.credit.rpc.service.dubbo.redis;



import com.credit.core.service.dubbo.redis.RedisClusterDubboService;

import redis.clients.jedis.JedisCluster;

public class RedisClusterDubboServiceImpl implements RedisClusterDubboService {
	
	private JedisCluster jedisCluster;

	
	public String get(String key){
		return jedisCluster.get(key);
	}
	
	public String set(String key , String value){
		return jedisCluster.set(key,value);
	}
	

	public JedisCluster getJedisCluster() {
		return jedisCluster;
	}

	public void setJedisCluster(JedisCluster jedisCluster) {
		this.jedisCluster = jedisCluster;
	}


}
